package com.song.module.admin.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.song.module.system.entity.BaseEntity;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 厨师预约记录对象 ap_user_chef_record
 *
 */

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "厨师预约订单对象")
@Builder
@Accessors(chain = true)
@TableName("ap_user_chef_order")
public class ApUserChefOrder extends BaseEntity {

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 订单号
     */
    @ApiModelProperty(value = "订单号")
    private String orderNumber;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    /**
     * 厨师ID
     */
    @Excel(name = "厨师ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "厨师ID")
    private Long chefId;

    /**
     * 价格
     */
    @ApiModelProperty(value = "价格")
    private BigDecimal price;


    /**
     * 预约时间
     */
    @ApiModelProperty(value = "预约时间")
    private LocalDate appointmentTime;

    /**
     * 1 早餐 2 午餐 3 晚餐
     */
    @ApiModelProperty(value = "1 早餐 2 午餐 3 晚餐")
    private Integer meals;


    /**
     * 预约地址
     */
    @ApiModelProperty(value = "预约价格")
    private String address;
    /**
     * 预约电话
     */
    @ApiModelProperty(value = "预约价格")
    private String telPhone;

    /**
     * 1 早餐 2 午餐 3 晚餐
     */

    @ApiModelProperty(value = "1 完成 2 进行中 3 未完成")
    private Integer status;

}
